/********************************************************************************
 *    Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH    *
 *                                                                              *
 *              This software is distributed under the terms of the             * 
 *              GNU Lesser General Public Licence (LGPL) version 3,             *  
 *                  copied verbatim in the file "LICENSE"                       *
 ********************************************************************************/
#ifndef HIDAQINFODATA_H
#define HIDAQINFODATA_H 1

#include <TObject.h>
// #include "TVector3.h"
// #include <map>
// #include <vector>


class TClonesArray;

class HiDaqInfoData: public TObject 
{

  public:

    /** Default constructor **/
    HiDaqInfoData();

    /** Standard constructor **/
    HiDaqInfoData(uint64_t TimeSliceID,
              uint8_t nPxi,
              uint16_t nFee, 
              uint8_t pxiID, 
              uint8_t feeID,
              uint64_t FEEAddress,
              uint32_t TSLength,
              uint32_t PXILength,
              uint32_t FEELength
              );


    /** Destructor **/
    virtual ~HiDaqInfoData();

    /** Output to screen **/
    virtual void Print() const;

    // Data Members -----------------------
    uint64_t fTimeSliceID{};     // 时间片编号
    
    uint8_t fNPxi{};               // PXI数量
    uint16_t fNFee{};               // FEE数量
    uint8_t fPxiID{};              // PXI板号
    uint8_t fFeeID{};              // FEE板号

    uint64_t fFEEAddress{};           //! FEE起始地址
 
    uint32_t fTSLength{};       // 时间片长度
    uint32_t fPXILength{};      // PXI长度
    uint32_t fFEELength{};       // FEE长度

  private:


    ClassDef(HiDaqInfoData, 1)

};

#endif

